import QtQuick 2.15
import QtQuick3D 1.15

Node {
    id: boat_obj

    Model {
        id: boat_mast_02_white
        source: "meshes/boat_mast_02_white.mesh"

        DefaultMaterial {
            id: white_material
            diffuseColor: "#ffaaaaaa"
        }
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_mast_01_white
        source: "meshes/boat_mast_01_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_spool_02_white
        source: "meshes/boat_spool_02_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_spool_01_white
        source: "meshes/boat_spool_01_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_sailing_boat_01_white
        source: "meshes/boat_sailing_boat_01_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_sailing_boat_02_white
        source: "meshes/boat_sailing_boat_02_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_windlass_01_white
        source: "meshes/boat_windlass_01_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_windlass_02_white
        source: "meshes/boat_windlass_02_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_elements_02_black
        source: "meshes/boat_elements_02_black.mesh"

        DefaultMaterial {
            id: boat_elements_black_material
            diffuseColor: "#ff000000"
        }
        materials: [
            boat_elements_black_material
        ]
    }

    Model {
        id: boat_elements_03_black
        source: "meshes/boat_elements_03_black.mesh"
        materials: [
            boat_elements_black_material
        ]
    }

    Model {
        id: boat_chopping_wight
        source: "meshes/boat_chopping_wight.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_elements_glass
        source: "meshes/boat_elements_glass.mesh"

        DefaultMaterial {
            id: boat_glass_material
            diffuseColor: "#ff1b2825"
            opacity: 0.4
        }
        materials: [
            boat_glass_material
        ]
    }

    Model {
        id: boat_screw_hooks_bronze
        source: "meshes/boat_screw_hooks_bronze.mesh"

        DefaultMaterial {
            id: boat_screw_hooks_bronze_material
            diffuseColor: "#ff4b370d"
        }
        materials: [
            boat_screw_hooks_bronze_material
        ]
    }

    Model {
        id: boat_elements_01_black
        source: "meshes/boat_elements_01_black.mesh"
        materials: [
            boat_elements_black_material
        ]
    }

    Model {
        id: boat_fences_silver
        source: "meshes/boat_fences_silver.mesh"

        DefaultMaterial {
            id: boat_silver_material
            diffuseColor: "#ff555555"
        }
        materials: [
            boat_silver_material
        ]
    }

    Model {
        id: boat_elements_04_white
        source: "meshes/boat_elements_04_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_chopping_glass
        source: "meshes/boat_chopping_glass.mesh"
        materials: [
            boat_glass_material
        ]
    }

    Model {
        id: boat_tires
        source: "meshes/boat_tires.mesh"

        DefaultMaterial {
            id: boat_buffer_material
            diffuseMap: Texture {
                source: "maps/boat_buffer_diffuse.jpg"
                tilingModeHorizontal: Texture.Repeat
                tilingModeVertical: Texture.Repeat
            }
        }
        materials: [
            boat_buffer_material
        ]
    }

    Model {
        id: boat_roof_accessory
        source: "meshes/boat_roof_accessory.mesh"

        DefaultMaterial {
            id: boat_roof_accessory_material
            diffuseMap: Texture {
                source: "maps/boat_roof_accessory_diffuse.jpg"
                tilingModeHorizontal: Texture.Repeat
                tilingModeVertical: Texture.Repeat
            }
        }
        materials: [
            boat_roof_accessory_material
        ]
    }

    Model {
        id: boat_body
        source: "meshes/boat_body.mesh"

        DefaultMaterial {
            id: boat_body_material
            diffuseMap: Texture {
                source: "maps/boat_body_diffuse.jpg"
                tilingModeHorizontal: Texture.Repeat
                tilingModeVertical: Texture.Repeat
            }
        }
        materials: [
            boat_body_material
        ]
    }

    Model {
        id: boat_elements_05_white
        source: "meshes/boat_elements_05_white.mesh"
        materials: [
            white_material
        ]
    }

    Model {
        id: boat_elements_06_black
        source: "meshes/boat_elements_06_black.mesh"
        materials: [
            boat_elements_black_material
        ]
    }

    Model {
        id: boat_roof_floating_donuts
        source: "meshes/boat_roof_floating_donuts.mesh"
        materials: [
            boat_roof_accessory_material
        ]
    }

    Model {
        id: boat_front
        source: "meshes/boat_front.mesh"
        materials: [
            boat_buffer_material
        ]
    }

    Model {
        id: boat_buffer
        source: "meshes/boat_buffer.mesh"
        materials: [
            boat_buffer_material
        ]
    }
}
